let uuid: Function = () => Promise.resolve(Date.now().toString(36) + Date.now().toString(36))

// #ifdef WEB || APP
import { v4 } from 'uuid'
uuid = () => Promise.resolve(v4())
// #endif

// #ifdef MP
import uuidv4 from '../uuid/mp-uuid/uuidv4'
uuid = uuidv4
// #endif

export { uuid }
